package com.xc.ezplan.admin.vo;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lixingchen
 * @date 2022/12/17
 * @description 后台发送邮件VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminEmailVo {

    /**
     * 收件人，支持多个收件人
     */
    @NotEmpty
    private List<String> tos;

    /**
     * 邮件配置ID
     */
    @NotEmpty
    private Integer configId;

    @NotBlank
    private String subject;

    @NotBlank
    private String content;
}
